package com.ct.deadlockdetetor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ct.deadlockdetetor.domain.wait.ProcessWait;
import com.ct.deadlockdetetor.domain.wait.dto.ProcessWaitDTO;
import com.ct.deadlockdetetor.domain.wait.vo.ProcessWaitVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProcessWaitMapper extends BaseMapper<ProcessWait> {
    List<ProcessWait> selectByProcessId(int processId);

    List<ProcessWaitVO> selectProcessWaitList(ProcessWaitDTO processWaitDTO);
}
